/**
 *====================================================
 * 文件名称: BulkstockGatherEntity.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2015年9月23日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.bulkstock.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.bulkstock.entity.lexicon.BulkstockGatherAuditStateEnum;
import com.yuexunit.finance.bulkstock.entity.lexicon.MeasurementEnum;

/**
 * @ClassName: BulkstockGatherEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2015年9月23日 下午5:53:34
 */
@Entity
@Table(name = "FIN_BULKSTOCK_GATHER")
public class BulkstockGatherEntity {

	/** 商品浮动ID */
	@Id
	@GeneratedValue
	@Column(name = "GATHER_ID")
	private Long gatherId;

	/** 大宗类别ID */
	@Column(name = "CATEGORY_ID")
	private Long categoryId;

	/** 商品类别 */
	@Column(name = "CATEGORY_NAME")
	private String categoryName;

	/** 大宗商品ID */
	@Column(name = "BULKSTOCK_INFO_ID")
	private Long bulkstockInfoId;

	/** 商品名称 */
	@Column(name = "BULKSTOCK_NAME")
	private String bulkstockName;

	/** 规格型号 */
	@Column(name = "SPECIFICATION")
	private String specification;

	/** 计量类型 0:未知/1:体积/2:重量 */
	@Column(name = "MEASUREMENT")
	private MeasurementEnum measurement;

	/** 价格 */
	@Column(name = "PRICE")
	private BigDecimal price;

	/** 价格日期 */
	@Column(name = "PRICE_D8")
	private Integer priceDate;

	/** 涨跌额 */
	@Column(name = "RISE_FALL")
	private BigDecimal riseFall;

	/** 涨幅 */
	@Column(name = "INCREASE")
	private BigDecimal increase;

	/** 周收盘价 */
	@Column(name = "CLOSING_PRICE")
	private BigDecimal closingPrice;

	/** 7日均价 */
	@Column(name = "WEEK_AVG_PRICE")
	private BigDecimal weekAvgPrice;

	/** 发布日期 */
	@Column(name = "ISSUE_DT")
	private Date issueDateTime;

	/** 审核状态 0:未审核/1:已审核 */
	@Column(name = "AUDIT_STATE")
	private BulkstockGatherAuditStateEnum auditState;

	/** 审核人员ID */
	@Column(name = "AUDITOR_ID")
	private Long auditorId;

	/** 审核人员 */
	@Column(name = "AUDITOR")
	private String auditor;

	/** 是否有效 0-无效;1-有效 */
	@Column(name = "ENABLED")
	private Boolean enabled;

	/** 创建时间 */
	@Column(name = "CREATE_DT")
	private Date createDateTime;

	/** 更新时间 */
	@Column(name = "UPDATE_DT")
	private Date updateDateTime;

	public Long getGatherId() {
		return gatherId;
	}

	public void setGatherId(Long gatherId) {
		this.gatherId = gatherId;
	}

	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public Long getBulkstockInfoId() {
		return bulkstockInfoId;
	}

	public void setBulkstockInfoId(Long bulkstockInfoId) {
		this.bulkstockInfoId = bulkstockInfoId;
	}

	public MeasurementEnum getMeasurement() {
		return measurement;
	}

	public void setMeasurement(MeasurementEnum measurement) {
		this.measurement = measurement;
	}

	public String getBulkstockName() {
		return bulkstockName;
	}

	public void setBulkstockName(String bulkstockName) {
		this.bulkstockName = bulkstockName;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getPriceDate() {
		return priceDate;
	}

	public void setPriceDate(Integer priceDate) {
		this.priceDate = priceDate;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public BigDecimal getRiseFall() {
		return riseFall;
	}

	public void setRiseFall(BigDecimal riseFall) {
		this.riseFall = riseFall;
	}

	public BigDecimal getIncrease() {
		return increase;
	}

	public void setIncrease(BigDecimal increase) {
		this.increase = increase;
	}

	public BigDecimal getClosingPrice() {
		return closingPrice;
	}

	public void setClosingPrice(BigDecimal closingPrice) {
		this.closingPrice = closingPrice;
	}

	public BigDecimal getWeekAvgPrice() {
		return weekAvgPrice;
	}

	public void setWeekAvgPrice(BigDecimal weekAvgPrice) {
		this.weekAvgPrice = weekAvgPrice;
	}

	public Date getIssueDateTime() {
		return issueDateTime;
	}

	public void setIssueDateTime(Date issueDateTime) {
		this.issueDateTime = issueDateTime;
	}

	public BulkstockGatherAuditStateEnum getAuditState() {
		return auditState;
	}

	public void setAuditState(BulkstockGatherAuditStateEnum auditState) {
		this.auditState = auditState;
	}

	public Long getAuditorId() {
		return auditorId;
	}

	public void setAuditorId(Long auditorId) {
		this.auditorId = auditorId;
	}

	public String getAuditor() {
		return auditor;
	}

	public void setAuditor(String auditor) {
		this.auditor = auditor;
	}

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

	public Date getUpdateDateTime() {
		return updateDateTime;
	}

	public void setUpdateDateTime(Date updateDateTime) {
		this.updateDateTime = updateDateTime;
	}

}
